package chixing.day19.pcp_demo;

public class Test {
    public static void main(String[] args) {
        PublicResource publicResource = new PublicResource();
        Producer producer = new Producer(publicResource);
        Consume consume = new Consume(publicResource);
        producer.start();
        consume.start();
    }
}
